package com.atguigu08._interface.ex3;

public abstract class Vehicle {
    private String band;
    private String color;

    public Vehicle() {
    }

    public Vehicle(String band, String color) {
        this.band = band;
        this.color = color;
    }

    public String getBand() {
        return band;
    }

    public void setBand(String band) {
        this.band = band;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public abstract void run();
}

